fix some make files for automake-1.13