removed forced optimisation from the optional build flags for debug builds