We need to disable curses support and replace the build and install phases (otherwise, they expect that *.so files will be present).