Do not add -L/usr/local/lib - That can be done manually on OSX Yosemite.