Added IDE_MODE define to locate libraries easier when running from
inside an IDE