Added compatibity for 1.5 libraries layout on IDE 1.0.x

See #1765