compile static binary