Add 'extensions' and 'extensionspath' to the paths array.