Fix -o flag (Thanks Joao Paulo Sinnecker)