Fix c++1y feature detection for g++
Fix installation of hidden files