added autotools support