Fixed compilation issues with g++-4.7

Compiler was unable to find definitions for standard exceptions.
The added include 'stdexcept' takes care of this.