gbs: more portable way to figure out the LIBdir var.

'realpath' doesn't exist on some Linux boxen.
document the craziness that is BlueGene.