Update Makefile to use full sed parameter

Use --in-place instead of -i  in sed to fix make install error on fedora 20.