Switch to build with cmake for speed and simplicity. Remove now pointless patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>