Fixed build script. Version should not bumped in dev mode.