fix configure to compile