Tests: Fixed test projects to be buildable in OSX.