Fix changed compiler option for preferring dynamic linking