Adding static keyword to prevent link errors on my machine