Fix byte compile warning
Hack to make search-reg work.  Should work normally :(