fixes some minor installation and c++0x standard compatibility issues