version bump to 5.1.0 and cxx option added for configurable C++ support