fixed png
revised cmake build