add debug postfix and static lib