Fixed build errors when attempting to compile sample project.