Fixing Mac physics tests and some warnings.