fix pnacl tool names to pnacl master
handle nan and inf in fastcomp