Attempt to fix apply_remote unit test
Workaround for GCC44 vector::resize using copy-constructor
Replaced lambda expression with function object
Reverted original condition_variable test