refitted config.hpp to account for automake buildsystem which for some reason currently wont set __cplusplus properly