Linking was broken. Thanks to @strycore