Fix the cmake build - patch by Xerxes Rånby.