Allow cheetah-compile to take directories as well.