Fixed compilerFlags to be recursive when adding folders.