fixes compilation on GCC 4.8.1 Linux
amending previous fix on cmath (but maybe this tr1 should be dropped now)
Merge pull request #4 from ilelann/master

Compilation fixes on GCC 4.8.1 Linux and switch by default to C++11