Some fixes for spglib.