Move to C++11 + configure out of source builds
Correct build