Fix documentation, modify buildscript.