Fixed platform-independent gem build.