Fixed compiler warnings

There's also one warning regarding expired signing key. I wonder whether it's still needed since it's used only in one project. Perhaps it's just inherited from some older setup?