Added GHC options to display warnings and compile with optimisations.