Fix inexplicable unexplainable undefined references