packaging: Adjust configuration when using PREFIX

When using the PREFIX make variable to install to a different directory
some files that contain paths need to be updated.

Change-Id: I69042e4c959a8849a370b458d2304fbf9d6ab0c4
Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>