cfdisk: fix compile-time error fixes #59

+ For compile to work also needs pull request #56 applied