When passing -1 (the default returned by define_c_* on failure), a machine crash results instead of a nice error.
Fixed the unsigned to signed comparison.