Move Main.hs to a different source root

This prevents the system from recompiling the library.