Fixed ldconfig in motorwork
ldconfig wasn't called if path was set, need to call regardless of whether path is set or not

Signed-off-by: Alberto Corona <albcoron@gmail.com>