use rbconfig for detecting Windows