Make build work when checked out as a git submodule.
Don't fail on unused function warning.