Fix the npmlog not found bug under OS X.