added the projectfile and fixed a compilation problem