Improving third party Makefile