Handle OS-specific links

Signed-off-by: Christopher Larson <kergoth@gmail.com>