Changes to ignore the build directory, and correct the version when buil...

...t