[Bug 1038700] libstoragemgmt fails to build with GCC 7