Fixed bad bound checking code
Added separate ini file for *nix platforms