Fixed check for `dev_tools_prefix` in Yosemite

`respond_to?` will basically check if the method is available. When I tried this in Yosemite, `dev_tools_prefix` wasn't defined and it was dying on this line.