tweaks for autotools build