Fix compiler error on gcc 4.9
More fixes for declval
Making things explicit...
Fixed #1126: Warning about struct/class thread_counters
Merge branch 'master' of https://github.com/STEllAR-GROUP/hpx