Workaround broken clanlib transform function