fixed linking by changing .h to .cpp