Gcc 4.7

Please review changes I made to build PATL with cmake and gcc-4.7.2 on Debian Wheezy.