fix #98 build errors.