minor changes to third party Makefile