fixed sample app compilation