nackwards compatitbilty for OSX builds