* Use correct build hook * force sret like return from rust code for nim compatibility * Fix target mismatch * Update usages