build improvements, add curl