Add a build script
Fix build on ARM Linux
Prep for MIPS Linux build

Not tested
Fix for ARM
Run autogen.sh if needed
Add a testing file for Windows
Close the library after use

Just an example showing how a library should be closed