Make osx functions autoloadable