Add cmake modules and find glew/jpeg