Make nimrepl and trimcc tools compile

I don't know if these tools are supposed to work, but right now they didn't even compile. Same for noprefix.nim, but I don't know where expandimportc went.