Try non-static binary?
Add missing image libraries.
Staticify libstdc++...
Fix error.
Fix another silly bug
Revert previous changes.
Try building exe on 10.04
Execute second build