Use local labels to avoid duplicate assembly names

Note: This has been compile-tested only.