Use cmake to build zimg. Thanks to lytsing(lysting@gmail.com)