static linkage to create standalone exe