make configure work even when no prefix is specified