added module build for darwin