small fix so that we can build in monodevelop and xbuild