Fix permission of installed definitinos