fix for in-tree compilation