Fix issues with using new Facebook SDK