Load average support on UNIX-like systems

This commit tested only on linux and gcc 4.7.3