Meson: Do not always generate static library
Since Meson 0.46.0 'default_library' can be set to 'both' when user wants both shared and static libraries.
Since Meson 0.46.0 'default_library' can be set to 'both' when user wants both shared and static libraries.