added windows 64 bit support and made platform specific library loader.