787 can land because the airstrip there is really long (more than 3Kms according to wikipedia. This airport was chosen by NASA at some point as an emergency landing stop for the shuttle, and paid for it's extension.
https://en.wikipedia.org/wiki/Mataveri_International_Airport