Fix str.format to work with {:f/g/e} and ints

Also fix objstr.c to compile when floats disabled.