optimized portability of generated makefiles
updated external repo references