Less nasty hack for setting the rootProject

This seems to work...