fix debug build for gcc

-ansi ≡ -std=c++98 ;)
Fix build for building with g++ 4.8
Restore -DBUILD_DIR
Add script to generate commodities from ISO 4217

[ci skip]
Merge pull request #284 from afh/pull/iso4217

Add script to generate commodities from ISO 4217

Interesting.  Thanks
Use the POST_COST_VIRTUAL flag when exchange commodities

Fixes #999