Fix: Setting lib_options on an existing resource didn't work as expected