build: build cleanup, move private lib files into directories.