linux lib with GLM fns