Turning on shared library by default