Changes to ignore the build directory, and correct the version when built