building dist from src