C++11/Boost fixes
Automake related fixes