Fixed to run compile only if NOT compiled.