Fix extra-source-files
Derive Eq instance for BuildFlags
Generalize fromConfig to any Functor/Monad
Drop leading spaces from BuildFlags configuration variables
Remove redundant import
Apply build flags only once