Fix for --target