Bringing unused NSLog into play.
Fix for wrong sysctl param type.
Fix for 'Implicit conversion loses integer precision' warning appearing in 64 bit mode.