Re-ordered some rules and makefile so that 'all' target is built by default