remove emulation that does nothing
port constants to osx