Fixed main project settings to build library correctly