Ignore deprecated warnings on mac osx