adds linker flags for librt