Update Makefile

Turn on optimization flags. In my test, it reduced CPU utilization to 1/3.