RbConfig now checked for existance before being used.

theoretically this should make it work with ruby version prior to 1.9.2
but i could not test that as i can get 'ffi' installed on 1.8.7