Merge pull request #40 from eile/master

Workaround to compile with gcc 4.4.7 in release mode
Create RELNOTES.md
Fix gcc 4.2 build