Fix to avoid compiling unused files.