That's odd. Can you revert any changes you made and show me the compiler errors? Also, what version of the Nim compiler are you using?
I tried compiling it in a Linux VM that initially didn't have Nim 1.0.4 in it and it was successful, so the error message will be very helpful in figuring out what might be going on.