- Fix build with clang - Rename patch files according to standard - Convert to new LIB_DEPENDS format