Fixed problem with unaligned memory at start of library