Also added back the version patch to fix compilation with libupm. Signed-off-by: Rosen Penev <rosenp@gmail.com>