Get compile and link flags from envvars.
Store build flags into coredata as it is persistent and needs to survive over Meson reconfigurations.