Fixed makefile bug preventing a proper build