generate binstubs