Plasma 5: build fixes