Fixed optimisation flags

Signed-off-by: Damien Zammit <damien@zamaudio.com>