Fix autoloader for depending packages