Enable more optimizations.
Added script to compile 32/64bit versions of library.