fix org-check-version undefined error when compiled