replace ifndef by pragma once
remove glu, add a custom glCheckError