Update substr.c

substr.c@0.1.0 is broken :(
Checkin deps