fixed some build errors in the example project