Fixed cross platform linker conditionals