add --enable/disable-compile flag