Added platform defines.