Fix some issues and rename 'source' to 'binary' install type.