fix for "Unexpected semi-colons in conditional" issue, as reported by YuGiOhJCJ
(see http://www.hedgewars.org/node/5860 )
big thanks to burp for helping to identify and fix this issue

--HG--
extra : rebase_source : 26ade63d1fb1499592ac3327877ed675d0220bb4
fix cabal build (on linux)

--HG--
extra : rebase_source : bf816baa5f7686e5b84284cd8be85728a5476b5c
committing patch from issue 798, as requested by unC0Rr