Fix for not all platforms having optional libraries at the proper versions.