updated Makefile to fix linking errors with some versions of GCC