Cleanup `buildModule` and `_.size` use.
Keep the `defineProperty` fallback in place for the `modern` build so it can be used in phantom.js without throwing erroring.