use -O and not -O6 when GCC is not used

Signed-off-by: Mattias Andrée <maandree@operamail.com>