Modified WindowExtensions.ScalingFactor

- Replaced If's with #if's.
- Changed declare to soft declare as function was introduced after OS X
10.5.
- Updated version to 139.