Add built-in enable and disable commands.
Implement the same random generator as DF uses for DFHack.
Fix linux and windows build issues.

- Linux makefile overrides and removes the optimization flags.
- Old linux gcc doesn't understand lambdas.
- MSVC doesn't like extern and explicit instantiation in same file.
ruby: vectors default to int32_t