we dont need this hack anymore when linking staticly