Add w3m port with fixed main.c