Remove api directory from distribution.