Add more if-defs for sandbox APIs.