fix sample build