Correct declarations for 'check_config' global

sizeof(int) != sizeof(bool) on some systems