Fixes #42, add xpcshell support