Fixed bug in LBP causing crashes on some platforms

Another bug in LBP. Because a character array was used to store the binary values, it needed to be properly NULL terminated, otherwise stroul would read past the end of the string and come back with some huge number that was out of bounds. This crashes randomly.
Inlcude types_c

For some reason types_c needs to be manually included on recent versions of opencv
Made this a constant

My new compiler was complaining about it and it should be constant anyway