fix cmake macros ordering

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>