Allow overriding the path to the testssl and openssl binaries.

This allows us to remove some PATH hacks from the portable tree.
select->poll conversion for openssl(1)

This is based on a patch from deraadt@ plus some fixes for bugs found while
testing Windows poll(2) emulation.