Temporary fix for lmath ICE
Add support for rustpkg