fix warning, delete unused code, change target to osx 10.8