Switch patch system to autotools