Fixed some issues with Facebook integration that broke building the project.