Single precision

I couldn't compile the library with single precision ("-DLBFGS_FLOAT32"). This fixed it for me.