Move default include/library paths to after command line arguments
Add fdlibm.h for compatibility (#includes math.h)
Fix typos in build_toolchain.sh and use https