Remove compiler optimization.
Add inet_pton error checking.