Fix Makefile to work correctly

You moved things to the reference folder which broke the Makefile. This fixes that.