Fix near-silent failure caused by short (<4 chars) compile flags

Short compile flags such as ```-O2``` in ```flags.make``` files result in ```cppcm-trim-compiling-flags``` trying to find substrings longer than the string length, which causes an error; this error is trapped in ```cppcm-reload-all``` and reported as "Failed to create Makefile for flymake. Continue anyway".