fix nextprime.c include order
update build instructions to work on 64-bit systems