Linux 32bit support

add support for running on 32bit OS Linux