Updated the build system

- Added a common macro for finding 3rd-party libraries used by OGLplus.
- Updated the cmake find-scripts to use the new macro.