Fix build when PROF_SPIN is unset