bugfix autoload on osx