fix linux build, make browser optional

Thx to C. Bergström