Build Qt-dependent library only if Qt is found
Platform explicitly set for windows build (atomic issue)