meson: Export symbols for a DLL when not building statically

`default_library` might be 'both', in which case we will fail to link
when building with MSVC.
diff --git a/src/meson.build b/src/meson.build
index 1238e0b..4837410 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -383,7 +383,7 @@
 
 extra_hb_cpp_args = []
 if cpp.get_id() == 'msvc'
-  if get_option('default_library') == 'shared'
+  if get_option('default_library') != 'static'
     extra_hb_cpp_args += '-DHB_DLL_EXPORT'
   endif
   hb_so_version = ''