fix libm missing bug
fix 64bit system crash bug