check if htonll is defined before redefining