fix linking errors and add shader stuff, for GWEN

at least until i can move this into its own CMake library along with
its own unit test binary