Declare cnd() function static in black_scholes example

This fixes an issue (#276) when compiling the black_scholes
program on Mac OS X.
Merge pull request #280 from kylelutz/osx-fix

Declare cnd() function static in black_scholes example