Fixes for packaging


The first patch fixes the OPENRPT_DIR references so that absolute paths can be used (as is the case when OpenRPT is installed to official library/include locations).

The second patch deals with applicationDirPath issues.

If non-Linux platforms are supported, maybe the applicationDirPath logic should be extended, using #ifndef LINUX or something to support different platforms with the original behavior.