Makefile: fix builddata when building from tarball