updated jnigen, fixed Mac compiler flags