Include -lm when building driver and lutexec (fixes linker failure on Linux).
Move #!/bin/bash to the first line of _scripts/preprocesscompile-gcc.sh
Use unsigned long instead of ulong to fix compilation failure on Linux. (not sure if this is the right fix)