correction on build.sh, added libm and Linux define