Add partitial pthread and gcc test