fix build for examples