C++11 fix to ice

To build ice on C++11 (i.e. default on mavericks) it is necessary to patch a couple of C++11 incompatibilities in the code.

In addition, unset ICE_HOME before the build and restore afterwards to ensure it does not interfere with the build.