add osx deployment_target

add osx deployment_target since it also works fine on osx