build with system jpeg and internal png