nsgenbind: fixed cross build.