Fix sample build