configure: append {C{,XX,PP},LD}FLAGS after checking compilter features.