fixing a few osx compile errors