Fixed autoloading bugs on case sensitive file systems