fixed Makefile dependency orderings so parallel compilation (e.g. make -j2) can work (cuts my build times in half)