Migrate to GNU Makefile