build: use VERSION instead of COR_VERSION

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[udev] use std::stoul in input devices check

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