build: fix standalone compilation of ADX encoder