Fix autotools errors and remove rpm.