Fix bug when CXX_FLAGS contains an option with length less than 2 (ie -g).
Merge pull request #46 from erreina/master

Fix bug when CXX_FLAGS contains an option with length less than 2 (ie -g)