Fix rebuilding of sqlite3 for npm