if not defined APP_STORE_SAFE and DEBUG is 0, set APP_STORE_SAFE to 1