Linux 32bit, error checks, command line forwarding

Hi, this PR includes all changes I did to add Linux 32 bit support and to help us troubleshooting along the way while we tested this stuff on all our target platforms. Sorry I didn't bother with splitting up the changes in single branches... :)

You might not agree with everything I did, so feel free to reject it, rip it apart or shoot some requests my way to change/fix stuff.

Summary of changes:
- Improves error checking. Note that the Windows executable did and still does fail pretty silently, because there is no console to write something into.
- Adds a native build for Linux 32 bit. This changes the "-platform" command line argument.
- Adds command line argument forwarding from native executable to the JVM for Mac and Windows.