wx build fix. Make sure we link png/jpeg libraries before wx libraries to get the...