Fixed an issue where apps with the library would not work on 64-bit devices.