Allow filtering of flags passed to compiler and assembler