Fix new libpng support for directfb