Updated dependencies and gemspec
Added mkrf_conf to avoid crashes without rake
Minor version bump to 4.0.0.beta.2