Fix autoloading for global installation