WIP: remove NSPR dependency
WIP: update GYP to enable threadsafe builds