build: fix build with --disable-encoders