Update Makefile for using with Eclipse CDT; Fix -O0 undefined reference for inline function