Add Makefile generation and Imake support to gradle's NativeBinary model