Check for jQuery when building CommonJS module
Use "compiled" dir instead of "**/out"