Fix for infinite looping.

Thanks to @hhugo.
Don't ask me, I have no idea what the fuck is wrong with ocamlbuild.