Fixed Static Linking Issue