fix configure
fix links