Fixed patch files for multiarch support