Modified fullbuild script to check for platform parameter.