remove '-g -O2' from flags