Fixed compilation of examples with gcc-4.4

Enable examples by default