Fixed up compile problem when building via Makefile.