build fix when using WANT_GRIFFIN makefile option