Compilation errors due to spin_locks