Fixed project build errors