add correct(?) display ID
add platform-specific compiles for libs/contrib/xtgl.xtm