Fix for Rails autoloader