fixed compile issue in normaldistribution.hpp

fixed compile issue when using Halley's Method to refine the inverse of the cumulative normal distribution.