Removed old doc.
Added platform-independent build script.
Fiddling with end conditions to address #32.