Make nimrepl and trimcc tools compile
Merge pull request #1438 from def-/tools-compiling

Make nimrepl and trimcc tools compile