Get automake build working