Fixed bug with build of excess examples

Resolved #11