slock fixes

Hi xtraeme,
I was unable to build slock on <code>i686</code> and <code>armv6hf</code>.
Here the fix.