Add MINIMAL_FLAGS option

For convenient packaging in source distros like Gentoo it's nice to
provide an option which helps to respect system flags as much as
possible.