Fix stirpcolor for both Mac and Linux