Fixed issue where pkg-static couldn't be extracted