Allow the pnacl or javascript versions to be selected or detected.