Switched to a static library.

1. Makes everything a bit easier, at least during main development.
Fixed compiling against Lua.

1. For now, hardcode the path to lua5.2.
Compiler now outputs setup code.

1. Compiler version is better stored.
2. Added a placeholder setup function call.
Added additional structure to the runtime.