Fix compilation settings.
Split rect in header and source file
Add ability to read RGBA png files.
Use a less strict check.