Added CLEANUP macro for example and update target to fetch external repositories dependencies