build: Make use of features build option
Since meson 0.47, there is support for features build options that can be enabled automatically if the system has the required support.
This feature has been used for some options that fit properly for their needs.
The setup of the CI builds have also been appropriately updated.