Support SmartOS builds (just use sqlite from pkgsrc)

This is copied from there (but applied to current master of node-sqlite3):
https://github.com/mcavage/node-sqlite3/commit/40098a5a69f0b0aba1de29cec5c62e59f56164cc