remove executable permisions.
always install in $(prefix)/lib, avoids crosscompile issues.