Disable shared option for 5.x