add compile script by automake