Add runtime check to see if htonll is already defined, e.g. for Mac OSX 10.10
1.1.1