Convert to automake