Export meson option and use a define for each value instead of comparison

Closes !53.
13 jobs for test-laws in 7 minutes and 14 seconds (queued for 2 seconds)