cmake: use libdir macros

I don't like hardcoded paths. Let's use libdir macroses.

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>