Removed built file and added some rules to check before building the example