minor mods for linux support

* gcc version prior to 4.7 use the std=c++0x flag
* set threading to multi so clock_gettime is resolved with -lrt