make sample compile