added /usr/local/opt/{bin,lib} to PATH and LD_LIBRARY_PATH