required lib and switch for sfml'