Our company manual has the following:
If a SID or Departure Clearance specifies ‘Maintain Runway Heading’ it is implied that a drift correction will be applied in order to maintain the runway track.
Exceptions − USA, Canada and Australia require that Runway Heading be maintained without drift correction.
So in a Boeing deselect LNAV and depart with TOGA to maintain runway track.
or in the USA, CAN, AUS select HDG SEL on the ground or @ 400' AGL to fly HDG.