Add ext and hacks directories to lib. Add them to autoload paths