fix to compile on Debian