Some crazy work with autotools