make sure to create the compiled directory before generating files