Updated to default to building and linking shared