compile libsqlite3 with -std=c99 to fix solaris/smartos build - re-closes #201