Make opm-core tests compile on CentOS 6.3

Currently they don't because HAVE_DYNAMIC_BOOST_TEST = 0 and some library with the main function is missing.