Compiled is past tense. We are trying to compile, or explaining how to compile (present tense). We could use 'Make it compile' instead.