scons: only hardcode static linking libs on os x
scons: static linking on linux needs -dl for executables