This are tools to build a mask from http://landcover.org/data/watermask/

