Automatic guessing of projectroots