modify build process: must be simplified in the future...