This gives us a reasonably cross-platform way to to build options. Works well with LolRemez, where we no longer depend on GUI libraries.
When built as a subproject, we need the master to decide what features to activate or not. This could lead to reduced dependences. This patch also allows to build without imlib2.