Fixed project and compile issues.