Added flag to enable/disable compiling of overlay files.