add incremental builds

To perform an incremental build, provide a --incremental flag to the
build command.