try it without use-system-libs and with the path hack