Finally fixed sporadic compilation problems with '-Os'