add changes for compile option