Remove hardcoded libpng package and add module dependency