Attempt replacing g++ with g++-4.8