[OTS] Improve GYP build

- Added gyp_ots script which fetches gyp and creates build files.
- Cleanup ots-standalone.gyp and added further test program targets.
- Fixed some compile errors of test programs on Mac.
Review URL: https://chromiumcodereview.appspot.com/10314003

git-svn-id: http://ots.googlecode.com/svn/trunk@90 a4e77c2c-9104-11de-800e-5b313e0d2bf3
diff --git a/test/ot-sanitise.cc b/test/ot-sanitise.cc
index 313a6bc..7b4e945 100644
--- a/test/ot-sanitise.cc
+++ b/test/ot-sanitise.cc
@@ -7,7 +7,11 @@
 
 #include <fcntl.h>
 #include <sys/stat.h>
+#if defined(_WIN32)
+#include <io.h>
+#else
 #include <unistd.h>
+#endif  // defined(_WIN32)
 
 #include <cstdio>
 #include <cstdlib>