add script to set version for gnu make based compilation