Ugly pandora sgx hack..
Need to add some compile time define in future