add autotool support, remove temp files generated by automake