need to add rt to libs cause its a lib