slang: no more warning treated as errors

In some distros it broke the build process.