gmake: Fixing link order; we can now build applications.