Makefile: Extract packet version