Apply autotools
Add build scripts/patches