Add flags in osx target