compile: added support for -O1/2/3, -pg flags for cpp