fixed build with new libs