Fixed bii dependencies so this block builds when used from other blocks

Linked dl library if required (unix).