updated code to properly package Mac qt libraries