Fixed for C89.

closes #138