QT5 build fixes

load_atomic calls