fix  for library depedency http://stackoverflow.com/questions/5427396/whats-the-correct-way-to-configure-xcode-4-workspaces-to-build-dependencies-whe/11826682#11826682
fix  warnings