Fix build issue with autotools