Add extra configure option passing

This was needed by pkg-config

Signed-off-by: Lauri Leukkunen <lauri.leukkunen@huawei.com>