fix for rustpkg building