Add guards around platform and int type defs.