Fix io_decrypt compile on OSX
Created originally on Bitbucket by jpaana (Jarno Paananen)
Was already merged in Bitbucket before import, marked as merged by the import user
Source changeset not longer availableat the time of import. Commit listwill look empty
Clang seems to be more strict about return values from main() function and gives an error so corrected those.