Added guard for loading extension on Windows.