Version fix

Debug for osx.
Optimize include.
Delete apnghelper.