Fixed gmock_main failing commandline builds