update compile option