Improve the portability
X-Ref: http://markdotto.com/2012/03/02/stop-the-cascade/