Check if WNCK_CHECK_VERSION is defined

Revert the two previous commit and fix it by checking if WNCK_CHECK_VERSION is defined. This replaces PR #143.