Fixed wierd stuff with project references.