fix a strange behavior on some machines

hopefully fixes problems with swift 2.0.0 on some machines
have no idea why it works without that patch here