fix: default library paths should be setup earlier

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
correct line numbers

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