[DTFD-15]: Adds correct linker flags to the test target.

Signed-off-by: Daniel Thorpe <danthorpe@me.com>