build fixes to makefile and adreno_snapshot