Add dist target and fix version