Fixed the shared library build by adding -fPIC to the common.gyp for both debug and release builds.