devlib support fix compilation errors