add automake build scripts