relative to compiledDir, normalizing slashes