some build fixes to samples in _opengl folder