debug and profile targets weren't hooked to anything; have them make check with flags...