get autotools stuff to work properly