tweaks: fix compilation when configured with --with-slang
2 files changed