Fixed project so it compiles on latest Mono [ipy-2.7-maint]

This the same fix as in PR #218, but for the ipy-2.7-maint branch.