Compiler: Delete map file when suitable.
Merge pull request #849 from am11/master

Compiler: Delete map file when suitable.