Fixes https://github.com/NixOS/nixpkgs/issues/19271 ("slic3r gui fails").
Also adds OpenGL and WxGLCanvas to perlPackages.. OpenGL currently contains some pretty ugly hacks regarding OpenGL feature-detection. Expect it to fail on different systems.