build: disable -Wunused-function