Fix installation failure on OSX10.8 or former