Fixed #8468. Added 64 bit prime values.
Fixed #9746. Deleted workarounds for old SUN_CC compilers, those are now unsupported.
Merge branch 'master' into augmented-bstree-pullreq