Changed C++ standard to C++14. Closes #298.