add basic library file check when initalizing backend libraries.