fixed 'multiple definitions' problem of extern variables when linking against static -lcasm