Pass the target tuple to genbindings.py and avoid sys.platform