clean up a few osx warnings
cmake updates