added GNU support