Fix building of Optenum on Travis

- Build a DEBUG build on Travis
- Use 'PATH' instead of 'DIRECTORY' for CMake's get_filename_component()