Commit for BETA release.
Added auto-detection of lib directory for 32/64-bit arches.