Can pass resources folder in Compiler constructor