Prefix mac specific issues with Mac.
Add --enable-shared to build libruby.so on Linux