LLVM codegen updates

* fixes for compilation with SML/NJ
* drop extra flags from `bin/regression` script
* preliminary support for amd64 architecture with llvm codegen