Fixes bug #19 by reordering Makefile.