added platform defines