compling malicious ot extension as a library