build fixes for fetchaddr