fix compatibility check; prepare for release 1.7.7
Merge commit 'dc84bca6550042624b8e33faa425fb7ed1d92461'