added logic to the make install require