Some cleanup in build dependencies.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>