Parse CXX option passed to configure.
Error out when static and shared versions are enable on Windows.