Fixed the version stuff.
Fixed build scripts.