Changing tools version to 4 and conditionalizing the Client profile part so the library cleanly builds with Mono 3.4.