[POSIX] Fix ConditionVariableImpl.cpp compilation errors.