Thanks to bel3atar for the linker error help