static: Fix 'make distcheck' and verify-checksums interaction

Closes #578
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>