Restricted Win32 API was fixed in Highgui and some 3rd party libs. Patch
for libpng added.