add threaded compilation

concerning and closing #465