Fixes libpng error in newproject script for Linux