Fixed the error with the linking