Fix samples not compiling.