Updated to build against c89 instead of c99 for maximumum compatibility