Fix issue #2 and add Linux/PPC64 patches