require rbconfig, fixes #2382