Made reference assembly lookup work on 32bit machines

#221