Fixed compilation of the sample project