Now only building a single bundle which includes all tests and static stuffs.

Also, fixed a bug in the getting the version.