Changed linux linkage type to static