fixed some script issues

The recipe does not successfully compile fbthrift without included changes