minor: add missing compile_flags expansion to the compile phase tasks