Separate linker executable and flags
Remove spurious trailing '%'
Fix print statements