Fixed recursive make process in generic makefile