Fix autoloading when installed as a package