Merge pull request #224 from chrox/master

add ffi declarations for zframe and zsocket in czmq
add win32 target for koreader-base
use portable util.gettime
make sleep, gettime, realpath functions in util portable
reflect different names of dynamic libraries on different platforms
remove unused patches in kpvcrlib