fix bug in gpkg makefile causing build to crash