update version number and fix building environment