Don't be too greedy when extracting flags from qmake's makefile.