Move the algorithm flag to the Makefile