Fixed linker errors, thanks @K-ballo!