Linking exception fixed