build: fix distcheck target a little

The .version is generated by the hook now.